package com.dylearn.utils.quartz;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * 定时器的使用
 * */
public class FirstQuartz extends QuartzJobBean {
    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
        //里面写的是 具体定时任务需要做的事情
        //System.out.println("定时器任务启动中-----");
    }
}
